hollow victory

Translations
пиррова победа
Winning the lawsuit was a hollow victory because the legal fees were so high.
Выигрыш в суде был пирровой победой, потому что юридические расходы были слишком высоки.
Definitions
A hollow victory refers to a win that comes with little or no value, often because the cost of achieving it outweighs the benefits, or because it does not bring true satisfaction or achievement.